package com.zzptc.x.dao;

import java.sql.SQLException;
import java.util.List;
import com.zzptc.x.entity.Product;

public interface IProductDao {
	List<Product> getAllProduct()throws SQLException;

	boolean insert(Product p)throws SQLException;
	
	boolean delete(int id)throws SQLException;
	
	boolean update(Product p)throws SQLException;
}
